{*include file="template/admin_head.htm"*}

<table id="containtable" cellspacing="0" cellpadding="0" class="{*$cf_controller*}" width="100%">
    <tr>
        <td valign="top" bgcolor="#FFFFFF">


            <div class="wrapper pr_8">
              	{*if $cf_action=='detail'*}

                {*else*}

                <div class="pannel">
                    <div class="pl"></div>
                    <div class="pr"></div>
                    <div class="pc">
                        <form action="" method="get" id="search_form" name="search_form">
                            <input name="dpt" id="dpt" type="hidden" value="{*$cf_dpt*}" />
                            <input name="self" id="self" type="hidden" value="{*$self*}" />
                            <div class="pt">
                                代理商全称:
                                	<input type="text" size="20" id="skey" name="skey" class="tet" value="{*$skey*}" />
								&nbsp;&nbsp;账号:<input type="text" size="20" id="skey2" name="skey2" class="tet" value="{*$skey2*}" />
								&nbsp;&nbsp;联系人:<input type="text" size="6" id="skey3" name="skey3" class="tet" value="{*$skey3*}" />
								&nbsp;&nbsp;联系电话: <input type="text" size="12" id="skey4" name="skey4" class="tet" value="{*$skey4*}" />								
                                &nbsp;&nbsp;申请时间:
                                <input name="skey5" class="Wdate" type="text" id="act_start" value="{*$skey5*}" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'act_end\')}',dateFmt:'yyyy-MM-dd',isShowClear:true,readOnly:true});" size="15" maxlength="30" />
                                到<input name="skey6" class="Wdate" type="text" id="act_end" value="{*$skey6*}" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'act_start\')}',dateFmt:'yyyy-MM-dd',isShowClear:true,readOnly:true});" size="15" maxlength="30" />
								&nbsp;&nbsp;
                                <input type="image" src="public/images/admin/icon_search_btn.gif">
                            </div>
                        </form>
                    </div>
                </div>
                <div class="content_panel_title">
                    <div class="contentpanelleft"></div>
                    <div class="contentpanelcenter">
                        <span class="contentpanelcenter_font">申请管理</span>
                        <!--<span><a class="edit at" href="{*$cf_self_path*}-act_add.htm?dpt={*$cf_dpt*}">新增代理商</a></span>&nbsp;-->
                        </div>
                    <div class="contentpanelrihgt"></div>
                </div>
                <div class="content_table_center_style">
                    <div class="p8">
                        
                        <form name="list_form" id="list_form" method="post" action="{*$cf_self_page*}">
                            <input name="act" type="hidden" value="all" />
                            <input name="dpt" type="hidden" value="{*$cf_dpt*}" />
                            <table width="100%" class="tbl tbl_nbr">
                                <thead>
                                    <tr class="thd">
                                        <td width="6%" align="center" class="thr">ID</td>
                                        <td width="14%" align="center" class="thr">代理商账号</td>
                                        <td width="18%" align="center" class="thr">代理商全称</td>
                                        <td width="10%" align="center" class="thr">联系人</td>
                                        <td width="13%" align="center" class="thr">联系电话</td>
                                        <td width="14%" align="center" class="thr">创建时间</td>
                                        <td width="11%" align="center" class="thr">上级</td>
                                        <td colspan="2" align="center" class="thr">操作</td>
                                    </tr>
                                </thead>
                                <tbody>
                                    {*foreach name=lead_part item=item from=$data_ary*}                                   
                                    <tr onmouseout="this.style.backgroundColor='#ffF'" onmouseover="this.style.backgroundColor='#ffC'">
                                        <td align="center">{*$item['sp_id']*}</td>
                                        <td align="left"><a href="javascript:void(0)" title="查看詳情" onclick="$(function(){my_iframe('{*$cf_module_path*}detail-act_apply.htm?id={*$item['sp_id']*}','审核-{*$item['sp_title']*}',650,450)})" class="edit" >{*$item['sp_name']*}</a></td>
                                        <td align="center">{*$item['sp_title']*}</td>
                                        <td align="center">{*$item['sp_contact']*}</td>
                                        <td align="center">{*$item['sp_phone']*}</td>
                                        <td align="center">{*$item['sp_reg_time']*}</td>
                                        <td align="center">{*$item['sp_pname']*}</td>
                                        <td width="7%" align="center"><a href="javascript:void(0)" title="推广链接" onclick="$(function(){my_alert('{*$item['url']*}','操作提示');})"  class="edit">推广链接</a></td>
                                        <td width="7%" align="center"><a href="javascript:void(0)" title="查看詳情" onclick="$(function(){my_iframe('{*$cf_module_path*}detail-act_apply.htm?id={*$item['sp_id']*}','审核-{*$item['sp_title']*}',650,450)})" class="edit" >审核</a></td>
                                    </tr>

                                    {*/foreach*}


                                    <tr class="tft">
                                        <td colspan="9" style="padding:0;">
                                            <table width="100%" border="0">
                                                <tr>
                                                    <td width="2%" align="center" style="border:0;padding:0;"><!--<input type="button" name="checkall" id="checkall" class="myinput" value="全 选" />--></td>
                                                    <td width="11%" align="center" style="border:0;padding:0;">
                                                        <!-- <select name="alltype" id="alltype">
                                                            <option selected="selected" value="">操作選擇</option>
                                                           <option value="allcheck">通過審核</option>
                                                            <option value="alloutcheck">審核不通過</option>
                                                        </select>
                                                        &nbsp;<input type="submit" name="submit_all" id="submit_all" value="批量操作" class="myinput" />--></td>
                                                    <td width="87%" style="border:0;padding:0;" ><div class="turnPage"><p>{*$page*}</p></div></td>
                                                </tr>
                                            </table>                                </td>
                                    </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
                <div class="content_main_bottom">
                    <div class="content_main_bottom_left"></div>
                    <div class="content_main_bottom_right"></div>
                </div>

                {*/if*}
            </div>        </td>
    </tr>
</table>
{*include file="template/admin_foot.htm"*}